package com.flowerSystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author 鲜花遇上牛战士
 * @since 2023-08-28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "Address对象", description = "")
public class Address implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("收货省份")
    private String province;

    @ApiModelProperty("收货城市")
    private String city;

    @ApiModelProperty("收货区域")
    private String district;

    @ApiModelProperty("详细地址")
    private String detailAddress;

    @ApiModelProperty("联系方式")
    private String consigneePhone;

    @ApiModelProperty("收货人")
    private String consignee;

    @ApiModelProperty("用户表id")
    private Integer userId;

}
